package com.cyou.qb.common.dao;

import org.springframework.stereotype.Component;

import com.cyou.qb.common.domain.StatActiveDay;

@Component
public class StatActiveDayDao extends MysqlBaseDao {

	/**
	 * <p>更新一条数据记录</p>
	 * @author zoudongchao
	 * @param statActiveDay 数据实体
	 * @return
	 */
	public int updateOneStatActiveDay(StatActiveDay statActiveDay) {
		return this.update("updateOneStatActiveDay", statActiveDay);
	}

	/**
	 * <p>保存一条统计数据记录</p>
	 * @author zoudongchao
	 * @param statActiveDay 统计数据实体
	 * @return
	 */
	public int saveOneStatActiveDay(StatActiveDay statActiveDay) {
		return this.insert("saveOneStatActiveDay", statActiveDay);
	}
}
